﻿@using Easy.Data
@model Easy.Web.CMS.Setting.ApplicationSetting

<div id="toolBar">
    <a href="@Url.Action("Create")" class="btn btn-primary btn-xs btn">新建</a>
</div>
@(
 Html.Grid().SetColumnTemplate(col =>
 {
     col.Add(m => m.SettingKey, "<a href='" + Url.Action("Edit") + "?ID={SettingKey}'>{SettingKey}</a>");
 }).SetAsToolBar("#toolBar").ShowCheckbox(m => m.SettingKey).OrderBy(m => m.SettingKey, OrderType.Ascending)
)
